 /*******************************************************************************
 * File Name: One_shunt.h
 * Version 1.00
 *
 * Description:
 *	This file provides the source code to the API for the Sequencing Successive
 *	Approximation ADC Component Component.
 *
 * Note:
 *
 ********************************************************************************
 * Copyright 2010-2019, CMS Semiconductor Corporation.	All rights reserved.
 * You may use this file only in accordance with the license, terms, conditions,
 * disclaimers, and limitations in the end user license agreement accompanying
 * the software package with which this file was provided.
 *******************************************************************************/

 #ifndef _ONE_SHUNT_H_
 #define _ONE_SHUNT_H_

 #ifdef __cplusplus
extern "C"
{
#endif

/*****************************************************************************/
/* Include files */
/*****************************************************************************/


/*****************************************************************************/
/* Global pre-processor symbols/macros ('#define') */
/*****************************************************************************/

						
/*****************************************************************************/
/* Global type definitions ('typedef') */
/*****************************************************************************/


/*****************************************************************************/
/* Global variable declarations ('extern', definition in C source) */
/*****************************************************************************/
extern volatile unsigned short	 aon_inc;
extern volatile unsigned short	 bon_inc;
extern volatile unsigned short	 con_inc;
extern volatile unsigned short	 aon_dec;  
extern volatile unsigned short	 bon_dec; 
extern volatile unsigned short	 con_dec;

/*****************************************************************************/
/* Global function prototypes ('extern', definition in C source) */
/*****************************************************************************/
extern void Oneshunt_CommDuration_Calc(void);


#ifdef __cplusplus
}
#endif

#endif /* _ONE_SHUNT_H_ */

